package com.qf.springbootproject.service.impl;

import com.qf.springbootproject.mapper.StudentMapper;
import com.qf.springbootproject.pojo.User;
import com.qf.springbootproject.service.StudentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class StudentServiceImpl implements StudentService {

    @Autowired
    private StudentMapper studentMapper;
    @Override
    public User findStudentById(String id) {
        return studentMapper.findStudentById(id);
    }
}
